// by Xeno
private ["_vehicle", "_poss"];
#include "x_setup.sqf"

x_sm_pos = [[238.55246,5503.5117,0]]; // index: 24,   Fuel station in camp near Bor
x_sm_type = "normal"; // "convoy"

#ifdef __SMMISSIONS_MARKER__
if (true) exitWith {};
#endif

if (X_Client) then {
	d_current_mission_text = "The enemy uses a convenience store near Trubpi Bergen-Hohne. Destroy it to disrupt enemy access to munchies.";
	d_current_mission_resolved_text = "Good job. The fuelstation is destroyed.";
};

if (isServer) then {
	__Poss
	_vehicle = "Land_A_FuelStation_Build" createvehicle (_poss);
	_vehicle setDir 40;
#ifndef __TT__
	[_vehicle] execFSM "fsms\XCheckSMHardTarget.fsm";
#else
	[_vehicle] execFSM "fsms\XCheckSMHardTargetTT.fsm";
#endif
	sleep 2.22;
	["shilka", 0, "bmp", 0, "uaz_mg", 2, _poss,1,120,false] spawn XCreateArmor;
	sleep 2.123;
	["specops", 1, "basic", 2, _poss,110,false] spawn XCreateInf;
	__AddToExtraVec(_vehicle)
};